package com.dapeng.cleardatabackend.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author dapeng
 * @description 创建状态
 * @date 2024/12/26 16:12
 */
@Getter
@AllArgsConstructor
public enum GraphStatusEnum implements BaseEnum{

    SUCCESS(0, "创建成功"),
    CREATING(1, "正在创建"),
    FAILED(2, "创建失败");

    @JsonValue
    @EnumValue
    private final Integer code;
    private final String name;
}
